Skip to main content

Grok Imagine - Image Upscale

Enhance image resolution and quality using advanced AI upscaling powered by Grok

Task ID Source

The task_id parameter should be obtained from a previously generated image task. You can upscale images that were created using:

Generate Images First

Create images using the text-to-image model to get a task ID for upscaling
How to get a task ID:
  1. Use the Text to Image API to generate images
  2. Extract the taskId from the API response
  3. Use that taskId as the task_id parameter in the upscale request
Only images generated by Apikley models can be upscaled. External images are not supported.

Query Task Status

After submitting an upscale task, use the unified query endpoint to check progress and retrieve results:

Get Task Details

Learn how to query task status and retrieve generation results
For production use, we recommend using the callBackUrl parameter to receive automatic notifications when upscaling completes, rather than polling the status endpoint.

Market Overview

Explore all available models

Common API

Check credits and account usage
Rate limits and quotas are enforced by Apikley and may differ from upstream providers.

OpenAPI

market/grok-imagine/upscale.json post /api/v1/jobs/createTask

To find navigation and other pages in this documentation, fetch the llms.txt file at: https://docs.apikley.ru/llms.txt